<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>企业知识库管理系统 | 首页</title>
    <!-- bootstrap -->
    <link href="/static/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="/plugins/bootstrap/css/bootstrap-theme.min.css" rel="stylesheet">
    <link href="/static/plugins/awesome/css/font-awesome.css" rel="stylesheet">
    <link href="/static/portal/base/base.css" rel="stylesheet">
    <link href="/static/portal/index/index.css" rel="stylesheet">
    <!-- ie兼容 -->
    <!--<script src="static/plugins/html5/bootstrap-ie.js"></script>-->
    <!--[if lt IE 9]>
    <script src="/static/plugins/html5/html5shiv.min.js"></script>
    <script src="/static/plugins/html5/respond.min.js"></script>
    <![endif]-->
</head>
<body ng-app="index">
<div class="jumbotron first">
    <div class="centerotron">
        <h1>EKMS知识库</h1>
        <p>
            企业知识库管理系统
        </p>
        <div>
            <input type="text" class="form-control search-box" placeholder="搜索文章或接口，例如：项目接口">
        </div>
    </div>
</div>
<div class="container" ng-controller="projectCtrl">
    <ul class="list-group">
        <li class="list-group-item" ng-repeat="project in projects">
            <div class="row">
                <div class="col-xs-2">
                    <p class="list-item">
                        <img class="list-item-pic" src="{{project.cover}}"/>
                    </p>
                </div>
                <div class="col-xs-10">
                    <p class="content"><a href="portal/project/detail.html?id={{project.id}}">{{project.name}}</a></p>
                    <br/><br/>
                    <p class="content">{{project.remark}}</p>
                </div>
            </div>
        </li>
    </ul>
</div>
<script src="/static/plugins/angular/angular.min.js"></script>
<script src="/static/portal/index/index.js"></script>
</body>
</html>